LocalAudioStreamError enum Null safety

本地音频流状态改变时的错误码

Constants

deviceBusy → const LocalAudioStreamError

本地音频录制设备已经在使用中

该错误码暂未使用

const LocalAudioStreamError(3)
deviceNoPermission → const LocalAudioStreamError

没有权限启动本地音频录制设备

const LocalAudioStreamError(2)
encodeFailure → const LocalAudioStreamError

本地音频编码失败

const LocalAudioStreamError(5)
failure → const LocalAudioStreamError

本地音频出错原因未知

const LocalAudioStreamError(1)
noRecordingDevice → const LocalAudioStreamError

没有可用的音频录制设备

const LocalAudioStreamError(6)
ok → const LocalAudioStreamError

本地音频状态正常

const LocalAudioStreamError(0)
recordFailure → const LocalAudioStreamError

本地音频录制失败,建议你检查录制设备是否正常工作

const LocalAudioStreamError(4)
values → const List<LocalAudioStreamError>

A constant List of the values in this enum, in order of their declaration.

const List<LocalAudioStreamError>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited